#include <iostream>
using namespace std;
int main()
{
    int n;
    cin >> n;
    cout << double(n + 1) / (1 + 4);
    return 0;
}